﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomePage.master" AutoEventWireup="true"
    CodeFile="Contact.aspx.cs" Inherits="Contact" %>
<%@ Import Namespace="AppCommon" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>Contact | <%= Constants.S_TITLE_BLOG %></title>
    <script src="http://maps.googleapis.com/maps/api/js?key=AIzaSyDY0kkJiTPVd2U7aTOAwhc9ySH6oHxOIYM&sensor=false" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="row">
        <div class="col-md-12">
            <p class="spirax-small">Get in touch with us! <span class="label label-danger">contact@fixiedanang.com</span></p>
            <asp:Literal runat="server" ID="litResult" EnableViewState="False"></asp:Literal>
            <div class="form-group">
                <label>
                    Name *</label>
                <p>
                    <asp:TextBox CssClass="form-control" runat="server" ID="tbFirstName" placeholder="First name"
                        ToolTip="Enter your first name"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" SetFocusOnError="True"
                        ControlToValidate="tbFirstName" Display="Dynamic" ErrorMessage="(*) Chưa nhập dữ liệu"
                        ValidationGroup="groupAddUpdatePT"></asp:RequiredFieldValidator>
                </p>
                <p>
                    <asp:TextBox CssClass="form-control" runat="server" ID="tbLastName" placeholder="Last name"
                        ToolTip="Enter your last name"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" SetFocusOnError="True"
                        ControlToValidate="tbLastName" Display="Dynamic" ErrorMessage="(*) Chưa nhập dữ liệu"
                        ValidationGroup="groupAddUpdatePT"></asp:RequiredFieldValidator>
                </p>
                <label>
                    Email Address *            
                </label>
                <p>
                    <asp:TextBox CssClass="form-control" runat="server" ID="tbEmail" placeholder="Email address"
                        ToolTip="Enter your email"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvEmail" runat="server" ErrorMessage="*" ControlToValidate="tbEmail"
                    ValidationGroup="vgSubmit" ForeColor="Red"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Please Enter Valid Email ID" ValidationGroup="vgSubmit" ControlToValidate="tbEmail" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                </p>
                <label>
                    Subject *            
                </label>
                <p>
                    <asp:TextBox CssClass="form-control" runat="server" ID="tbSubject" placeholder="Email address"
                        ToolTip="Enter your email"></asp:TextBox>
                </p>
                <label>
                    Message *            
                </label>
                <p>
                    <asp:TextBox CssClass="form-control" runat="server" ID="tbMessage" TextMode="MultiLine" Rows="3" placeholder="Enter your messages" ToolTip="Enter your messages"></asp:TextBox>
                </p>
                <p>
                    <button type="reset" class="btn btn-default">Clear</button>
                    <asp:Button runat="server" CssClass="btn btn-primary" ID="btnSend" Text="Send"/>
                </p>
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content runat="server" ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2">
    <span class="spirax-small">My location on the Google map!</span>
    <div id="googleMap"></div>
    <script type="text/javascript" src="<%= Page.ResolveClientUrl("~/js/fixie.common.js") %>"></script>
    <script type="text/javascript">
        google.maps.event.addDomListener(window, 'load', InitializeMap);
    </script>
</asp:Content>
